<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
	<head>
	<base href="<%=basePath%>">
	<meta charset="utf-8" />
	<title></title>
	<meta name="description" content="overview & stats" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<link href="static/css/bootstrap.min.css" rel="stylesheet" />
	<link href="static/css/bootstrap-responsive.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="static/css/font-awesome.min.css" />
	<link rel="stylesheet" href="static/css/chosen.css" />
	<link rel="stylesheet" href="static/css/ace.min.css" />
	<link rel="stylesheet" href="static/css/ace-responsive.min.css" />
	<link rel="stylesheet" href="static/css/ace-skins.min.css" />
	<link rel="stylesheet" href="static/css/datepicker.css" /><!-- 日期框 -->
	<script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
	<!--提示框-->
	<script type="text/javascript" src="static/js/jquery.tips.js"></script>
	</head>
<body>
	<div id="centerOfMainFrame">
		<table id="table_report" class="table table-striped table-bordered table-hover">
			<tr>
				<td>礼品名称:</td>
				<td>${productGift.product_name }</td>
			</tr>
			<%-- <tr>
				<td>礼品品牌：
				</td>
				<td>${productGift.brandName }</td>
			</tr>
			<tr>
				<td>礼品类型：
				</td>
				<td>${productGift.catName }</td>
			</tr> --%>
			<tr>
				<td>礼物类型：
				</td>
				<td>
					<c:if test="${productGift.gift_type == 1}">
						实物礼物
					</c:if>
					<c:if test="${productGift.gift_type == 2}">
						虚拟礼物
					</c:if>
				</td>
			</tr>
			<tr>
				<td>库存数量:</td>
				<td>
					${productGift.gift_store_number }
				</td>
			</tr>
			<tr>
				<td>礼品兑换所需初吻币数:</td>
				<td>
					${productGift.exchange_number}
				</td>
			</tr>
			<tr>
				<td>礼品介绍链接:</td>
				<td>
					${productGift.product_url }
				</td>
			</tr>
			<tr>
				<td>缩略图:</td>
				<td>
					<a href="<%=basePath%>${productGift.img_thumb}" target="_blank"><img src="<%=basePath%>${productGift.img_thumb}" width="50"/></a>
				</td>
			</tr>
			<tr>
				<td>原始图片:</td>
				<td>
					<a href="<%=basePath%>${productGift.img_original}" target="_blank"><img src="<%=basePath%>${productGift.img_original}" width="50"/></a>
				</td>
			</tr>
			<tr>
				<td>正常图:</td>
				<td>
					<a href="<%=basePath%>${productGift.img_normal}" target="_blank"><img src="<%=basePath%>${productGift.img_normal}" width="50"/></a>
				</td>
			</tr>
			<tr>
				<td>礼品标题:</td>
				<td>
					${productGift.remark}
				</td>
			</tr>
			<tr>
				<td>礼品描述:</td>
				<td>
					${productGift.description}
				</td>
			</tr>
			<tr>
				<td>中奖推送语:</td>
				<td>
					${productGift.push_msg}
				</td>
			</tr>
		</table>
	</div>
	
	<!-- 引入 -->
	<script type="text/javascript">window.jQuery || document.write("<script src='static/js/jquery-1.9.1.min.js'>\x3C/script>");</script>
	<script type="text/javascript" src="static/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="static/js/ace-elements.min.js"></script>
	<script type="text/javascript" src="static/js/ace.min.js"></script>
	<script type="text/javascript" src="static/js/chosen.jquery.min.js"></script><!-- 单选框 -->
	<script type="text/javascript" src="static/js/bootstrap-datepicker.min.js"></script><!-- 日期框 -->
	<!-- 编辑框-->
	<script type="text/javascript" charset="utf-8">window.UEDITOR_HOME_URL = "<%=path%>/plugins/ueditor/";</script>
	<script type="text/javascript" charset="utf-8" src="plugins/ueditor/ueditor.config.js"></script>
	<script type="text/javascript" charset="utf-8" src="plugins/ueditor/ueditor.all.js"></script>
	<!-- 编辑框-->
	<script type="text/javascript">
	$(top.hangge());
	$(function() {
		
		//单选框
		$(".chzn-select").chosen(); 
		$(".chzn-select-deselect").chosen({allow_single_deselect:true}); 
		
		//日期框
		$('.date-picker').datepicker();
	});
	</script>
</body>
</html>